package com.ruoyi.ysNewVideo.domain;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @program: class by cxf
 * @author: AbrahamBill
 * @date: 2022/8/12
 **/
@Data
@Accessors(chain = true)
public class NewVideoTokenDao {
    /**
     * 旧值
     */
    private String lastToken;

    /**
     * 新值
     */
    private String newToken;

    /**
     * 过期时间
     */
    private Long lastExpireTime;

    /**
     * 新值
     */
    private Long newExpireTime;

    public NewVideoTokenDao(String lastToken, String newToken, Long lastExpireTime, Long newExpireTime) {
        this.lastToken = lastToken;
        this.newToken = newToken;
        this.lastExpireTime = lastExpireTime;
        this.newExpireTime = newExpireTime;
    }
}
